package com.mapforge.map.tools.undo.tilesetedit;

import com.mapforge.map.Tileset;

public class TileDimensionAndImageEdit extends AbstractTilesetEdit {
	int tilew;
	int tileh;
	String oldImgPath;

	public TileDimensionAndImageEdit(Tileset tileset, String imgPath,
			int tilew, int tileh) {
		super(tileset, null, "Tile size, Image edit");
		oldImgPath = imgPath;
		this.tilew = tilew;
		this.tileh = tileh;
	}

	public void die() {
		oldImgPath = null;
		tilew = tileh = -1;
	}

	@Override
	public void redo() {
		// TODO Auto-generated method stub

	}

	@Override
	public void undo() {
		// TODO Auto-generated method stub

	}

}
